﻿using System;
using System.Collections;

namespace Hash
{
    class Program
    {
       
            static void Main(string[] args)
            {
                Hashtable ht = new Hashtable();
                ht.Add(1, "昭和皇帝");
                ht.Add(2, "孙笑川.带带大师兄");
                ht.Add(3, "儒雅随和·mata川");
                Console.WriteLine("天皇的名字");
                int id = int.Parse(Console.ReadLine());
                bool flag = ht.ContainsKey(id);
                if (flag)
                {
                    Console.WriteLine("灵堂k歌:{0}", ht[id].ToString());

                }
                else
                {
                    Console.WriteLine("你还敢查孙哥，宁不想活了吗？");
                }
                Console.WriteLine("你在骂");
                foreach (DictionaryEntry i in ht)
                {
                    int key = (int)i.Key;
                    string value = i.Value.ToString();
                    Console.WriteLine("给爷爪巴,{0},真有你的嗷,{1}", key, value);
                }
            }
        }
    }

